package com.bili.bili_data_api.controller;

import com.bili.bili_data_api.service.PartScoreCompareService;
import com.bili.bili_data_api.vo.Num2Vo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PartScoreCompareControler {
    @Autowired
    private PartScoreCompareService partScoreCompareService;

    @GetMapping("/getAll")
    public Num2Vo getAll(){
        Num2Vo num2Vo = partScoreCompareService.getAll();
        return num2Vo;
    }
}
